Repository navigation
feat: autonomous orchestrators p4a — shadow shifts + the pilot ledger - #571
Merged
Merged
Conversation
shadow: yes makes a tick plan inside the brief and record proposals (prompt, tier, pick reason) without a lease or a worker, up to max-sessions. The digest marks them proposed (shadow); finish_shift appends one row per shift to PyAutoMind/batches/pilot/pilot.md in the digest's commit, the human's cells as ?. A shift whose digest.posted exists now writes nothing more. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #570. Phase 4a of the autonomous-orchestrators epic. Read with the PyAutoMind PR (merge that one first).
What changes
_brief.py:is_shadow;checkrefuses ashadow:value other than yes/no. The check is shared withsandbox:._orchestrator.py:shadow: yes,_tick_lockedruns the same plan, then_proposerecords each proposal inpicks(prompt, tier, pick reason,proposed: true), up tomax-sessions:. It takes no lease, starts no worker and counts no session. The tick returnsaction: shadow.finish_shiftqueues onebatches/pilot/pilot.mdrow next to the digest append, so both land in one Mind commit.finish_shiftnow returns at once whendigest.postedexists. Before, a second direct call re-appended the digest to the record, although it still posted no second comment._digest.py:proposed (shadow), and backlog proposals keep theirwhy:.validateasks no packet of a proposal.counter_valuesis factored out ofbuild.PILOT_PATH,PILOT_COLUMNS,PILOT_HEADER, andpilot_row(the human's cells are?).AGENTS.md,skills/batch/batch.md.API Changes
None to the libraries. Inside the organ: the
shadow:brief key, and thebatches/pilot/pilot.mdrow the watcher writes.Witness
Tier: judge — merge mode: human
/prm. Heart YELLOW (autofit_test MultiStartResumeNaNCounters.py timeout; no release rehearsal) acknowledged by the human at ship.🤖 Generated with Claude Code